Params

interface Params

The parameters of the ReceiveHeadersCallback.

Functions

Link copied to clipboard
open fun charset(): String
Returns a string that represents the charset data in the lower case retrieved from the Content-Type header.
Link copied to clipboard
open fun contentLength(): Long
Returns the value of the Content-Length header.
Link copied to clipboard
Returns an immutable list of the HTTP headers of the request or an empty list if the request does not have any HTTP headers.
Link copied to clipboard
open fun ipAddress(): String
Returns a string that represents a remote endpoint that was used to make the request.
Link copied to clipboard
open fun mimeType(): MimeType
Returns the MIME type value initialized with the lower case string retrieved from the Content-Type header.
Link copied to clipboard
open fun responseCode(): Int
Returns the HTTP response code.
Link copied to clipboard
open fun statusLine(): String
Returns a string that represents the information about HTTP version, response code and the status text.
Link copied to clipboard
open fun statusText(): String
Returns a string that represents the short textual description of the response code.
Link copied to clipboard
Returns the URL request.